package com.lhyu.mall.dao;

import com.lhyu.mall.domain.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface IndexMapper {
    List<IndexDomain> quaryContent();
    List<IndexMallNavNewhotItemDomain> mallNavNewhotItem();
    List<IndexImgUrlsDomain> indexImgUrls();
    List<IndexClassBigDomain> indexClassBig();

    List<ClassficationDomain> classfication();

    List<CartDomain> queryCart();

    List<ComponentGoodsDomain> queryComponentGoods(String viewId);

    List<MessageDomain> queryMessage(String viewId);

    void insertGoods(AddGoodsDomain addGoods);

    List<AddGoodsDomain> isGoodInCart(String goodId);

    void updateGoodInCart(AddGoodsDomain upGoods);
}
